*{
    margin: 0px;
    padding: 0px;
}
div{
    width: 300px;
    height: 300px;
    background-color: purple;
}
div p{
    width: 80px;
    height: 80px;
    background-color: yellow;
    margin-right: 5px;
    float: left;
}